package ren.renshuaipeng.auth.domain;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * ClassName: SuperBase<br/>
 * Function: xx. <br/>
 * Date:     2015/12/15 11:26<br/>
 *
 * @author 任帅鹏（作者）
 * @version V1.00 （版本号）
 * @see
 * @since JDK 1.8
 */
@MappedSuperclass
public class SuperBase implements Serializable {

    /**
	  * @Fields serialVersionUID : 
	  */
	
	private static final long serialVersionUID = 1L;
	
	@Id
    @GeneratedValue(strategy= GenerationType.AUTO, generator = "uuid")
    @GenericGenerator(strategy = "uuid",name = "uuid")
    private String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
